package org.hgg.workflow.core;

/**
 * @author Jarvis
 * @date 2023/12/28 0:37
 */
public class Test {
    public static void main(String[] args) {


        Dag<String,String> dag = new DefaultDag<>();
        dag.addDependency("A", "B");
        dag.addDependency("B", "D");
        dag.addDependency("C", "D");

        DefaultExecutor<String, String> executor = new TaskExecutor<>(dag);
        executor.execute();
    }
}
